package com.mingqijia.gassafety.authority.api.req.config;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 删除参数配置请求
 * @author Damon S.
 * @version v1.0.1
 * @date 2021年04月13日 19:44
 */
@Data
@ApiModel(value = "删除参数配置请求")
public class RemoveParamConfigReqDTO implements Serializable {

    @ApiModelProperty(value = "参数名称", required = true)
    @NotNull(message = "参数名称不能为空")
    @Length(max = 30, message = "参数名称不得超过30个字符")
    private String name;


}
